MailPoet\Automation\Engine\Storage\AutomationStorage S

Total Complexity 48
Dependencies 9
Dependents 26
Total lines 404
Lines of code 326
Logical lines of code 148
Comment lines 23
Methods 19
Properties 6

Methods 19

Method Rating Maintainability Complexity Lines of code
insertAutomationTriggers()
A
47 7 35
deleteAutomation()
S
48 6 36
getAutomation()
S
55 4 20
truncate()
S
58 4 17
updateAutomation()
S
60 4 12
getAutomationWithDifferentVersions()
S
52 3 24
getAutomations()
S
54 3 20
getAutomationsBySubject()
S
52 2 24
getAutomationVersionDates()
S
55 2 22
insertAutomationVersion()
S
60 2 13
createAutomation()
S
61 2 12
getCountOfActiveByTriggerKeysAndAction()
S
52 1 25
getActiveAutomationsByTriggerKey()
S
54 1 24
getNameColumnLength()
S
70 2 6
getActiveTriggerKeys()
S
60 1 15
getActiveAutomationsByTrigger()
S
80 1 3
getAutomationHeaderData()
S
73 1 5
getAutomationCount()
S
75 1 4
__construct()
S
65 1 9